package com.sg.dto.base.component.common;


import com.sg.common.dto.BaseDto;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;
import java.util.Objects;


/**
 * @desc SemanticEngineDto
 * @使用场景
 */
@Data
public class SemanticEngineDto extends BaseDto implements Serializable {

    /**
     * 模板引擎ID:
     */
    @ApiModelProperty("模板引擎ID ")
    private String templateSemanticEngineId;

    /**
     * 模板引擎标识:
     */
    @ApiModelProperty("模板引擎标识")
    private String templateSemanticEngineCode;

    /**
     * 模板引擎名称:
     */
    @ApiModelProperty("模板引擎名称")
    private String emplateEngineName;

    /**
     * 主体生命周期:
     */
    @ApiModelProperty("主体生命周期")
    private String subjectLifeCycle;

    /**
     * 操作人就职记录ID:
     */
    @ApiModelProperty("操作人就职记录ID")
    private String operationInductionId;

    /**
     * 操作时间:
     */
    @ApiModelProperty("操作时间")
    private Date operationTime;
    /**
     * 操作时间
     */
    @ApiModelProperty("操作时间")
    private Date operateTime;

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;
        if (!super.equals(o)) return false;
        SemanticEngineDto that = (SemanticEngineDto) o;
        return templateSemanticEngineId == that.templateSemanticEngineId && templateSemanticEngineCode == that.templateSemanticEngineCode && emplateEngineName == that.emplateEngineName && subjectLifeCycle == that.subjectLifeCycle && operationInductionId == that.operationInductionId && operationTime == that.operationTime && operateTime == that.operateTime;
    }

    @Override
    public int hashCode() {
        return Objects.hash(super.hashCode(), templateSemanticEngineId, templateSemanticEngineCode, emplateEngineName, subjectLifeCycle, operationInductionId, operationTime, operateTime);
    }
}
